@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="profitScaleForm">
            <input type="hidden" id="id" value="${profitScale.id}">
            <div class="row">
                <div class="col-sm-6 b-r">
                    <#select id="goodsCode" name="产品类型" underline = "true" value = "">
                        @for(good in goods){
                        @if(good.goodsCode ==  profitScale.goodsCode){
                        <option value="${profitScale.goodsCode}" selected="selected">${good.goodsName}(${good.goodsCode})</option>
                        @}
                        @if(good.goodsCode !=  profitScale.goodsCode){
                        <option value="${good.goodsCode}">${good.goodsName}(${good.goodsCode})</option>
                        @}
                        @}
                    </#select>
                    <#input id="partenr" name="合伙人（%）" underline="true"  value = "${profitScale.partenr}"/>
                    <#input id="remarks" name="奖励规则（示例：2-htl-奖励2级htl）" underline="false"  value = "${profitScale.remarks}"/>
                </div>
                <div class="col-sm-6">

                    <#input id="member" name="会员（%）" underline="true"  value = "${profitScale.member}"/>

                    <#input id="bibi" name="平台（%）" underline="false"  value = "${profitScale.bibi}"/>
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="ProfitScaleInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="ProfitScaleInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>

<script src="${ctxPath}/static/modular/packback/profitScale/profitScale_info.js"></script>
@}
